<!DOCTYPE html>
<html lang="en" data-ng-app="myApp">
<head>
<meta charset="utf-8">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="description" content="">
<meta name="author" content="ThemeBucket">
<link rel="shortcut icon" href="#" type="image/png">
<title>ERP报表查询</title>
<meta HTTP-EQUIV="pragma" CONTENT="no-cache"> 
<meta HTTP-EQUIV="Cache-Control" CONTENT="no-store, must-revalidate"> 
<meta HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT"> 
<meta HTTP-EQUIV="expires" CONTENT="0">
<!-- datatables附加样式 -->
<link rel="stylesheet" href="css/zTreeStyle/zTreeStyle.css" type="text/css">
<link rel="stylesheet" type="text/css"	href="js/DataTables-1.10.12/media/css/dataTables.bootstrap.min.css">
<link href="css/jquery-ui.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="css/style-responsive.css" rel="stylesheet">
<link href="css/public.css" rel="stylesheet">
<link type="text/css" href="js/jquery.multiselect.css" rel="stylesheet">
<link href="css/select2.min.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
  <script src="js/html5shiv.js"></script>
  <script src="js/respond.min.js"></script>
  <![endif]-->
</head>

<body class="sticky-header" data-ng-controller="IndexCtrl">

	<section>
		<!-- 左侧 开始 -->
		<div class="left-side sticky-left-side">

			<!--宽菜单显示全logo-->
			<div class="logo">
					<span>ERP报表查询</span>
					<i class="fa fa-indent"></i>
			</div>			
			<!--左侧菜单 开始-->
			<div class="left-side-inner">
				<!--侧边菜单栏-->
 				<ul class="nav nav-pills nav-stacked custom-nav" >
 					<li class="menu-list" ng-show="user.flags.length>0">
 						 <a href=""><i class="fa fa-star-o"></i><span>我的收藏</span></a>
 						 <ul  class="sub-menu-list" >
 						 	<li  ng-repeat="f in user.flags">
 						 	  <a href="{{f.url}}{{f.id}}"><span ng-bind="f.flag"></span></a>
 						 	</li>
 						 </ul>
 					</li>
 					<li class="menu-list" ng-repeat="r in user.menu">
 					    <a href=""><i class="fa {{r.clazz}}"></i><span ng-bind="r.name"></span></a>
 						<ul  class="sub-menu-list" >
	 						<li ng-show="c1.children!=null" ng-repeat="c1 in r.children">
	 						    <a href="javascript:;" class="open_sub_menu"><span ng-bind="c1.name"></span></a>
		 						<ul class="sub-menu-list" >
		 							<li ng-repeat="c2 in c1.children"><a href="{{c2.linkurl}}" ng-bind="c2.name"></a></li>
		 						</ul>
	 						</li>
	 						<li  ng-repeat="c1 in r.children" ng-show="c1.children==null" ><a href="{{c1.linkurl}}"><span ng-bind="c1.name"></span></a></li>
 						</ul>
 					</li>
 				</ul>
							<!--侧边菜单栏 结束-->
			</div>
			<!--左侧菜单 结束-->
		</div>
		<!-- 左侧 结束-->

		<!-- 右侧 开始 -->
		<div class="main-content" style="height: auto;">

			<!-- 页面头部工具条 -->
			<div class="header-section">
				<div class="user_info pull-left ng-binding">
						<font data-ng-bind="user.nickName"></font>
				</div>
				 

				<!--notification menu start -->
				<div class="menu-right ">
					<ul class="tools_list clearfix">
						<li><a href="javascript:;" ng-click="logout()"><i class="fa fa-exchange"></i>切换系统</a></li>
						<li><a href="javascript:;" class="hide_menu"><i class="fa fa-dedent"></i>收起菜单</a></li>
						<li><a href="javascript:;"><i class="fa fa-question-circle"></i>使用帮助</a></li>
						<li><a href="javascript:;"><i class="fa fa-envelope"></i>系统通知</a></li>
						<li><a href="javascript:;" data-toggle="modal" data-target="#editPwdModal"><i class="fa fa-lock"></i>修改密码</a></li>
						<li><a href="javascript:;" ng-click="logout()"><i class="fa fa-power-off"></i>退出管理</a></li>
					</ul>
				</div>
				<!--notification menu end -->

			</div>
			<!-- 页面头部工具条 end-->

			<!-- 页面内容 start-->
			<div class="wrapper" >
            	
				<!--页面内容显示区域-->
				<div data-ng-view></div>
				<!--页面内容显示区域 end-->
			</div>
		</div>
		<!-- 右侧 结束-->
	</section>

	<!-- js 插件 调用  -->



	<script src="js/jquery-1.10.2.min.js"></script>
    <script src="js/jquery-ui-1.9.2.custom.min.js"></script>
	<script src="js/jquery-migrate-1.2.1.min.js"></script>
	<script src="js/bootstrap.min.js"></script>
	<script src="js/modernizr.min.js"></script>
	<script src="js/jquery.nicescroll.js"></script>
	<script src="js/My97DatePicker/WdatePicker.js"></script>

	<script src="js/scripts.js"></script>

	<script src="js/angular.min.js"></script>
	<script src="js/angular-route.min.js"></script>
	<script src="js/script.js"></script>
	<script src="js/app.js?t=20171110"></script>
	<script src="js/tm.pagination.js"></script>
	<script src="js/jquery.multiselect.js"></script>
	<script src="js/select2.min.js"></script>
	
	<script src="js/jquery.ztree.core-3.5.js"></script>
    <script>
		//设置welcome的高度
		  $(document).ready(function(e) {
			  $(".welcome").css("height",($(window).height()-150)+"px");
		  });
		  $(window).resize(function(){
			   $(".welcome").css("height",($(window).height()-150)+"px");
		  })
     </script>
     
     <!-- Modal -->
		<div class="modal fade" id="editPwdModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		    <div class="modal-dialog">
		        <div class="modal-content">
		            <div class="modal-header">
		                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
		                <h4 class="modal-title">修改密码</h4>
		            </div>
		            <div class="modal-body row">
						<form id="updatePwdForm" class="form-horizontal ng-pristine ng-valid">
		                    <div class="alert alert-danger" style="display: none;" id="pwd_msg">
		                        <button type="button" class="close" onclick="$('#pwd_msg').fadeOut()">×</button>
		                        <span class="msg"></span>
		                    </div>
		                    <div class="row">
		                        <div class="col-md-12">
		                            <div class="form-group">
		                                <label class="col-lg-3 col-sm-3 control-label"><span class="red">*</span>原始密码</label>
		                                <div class="col-lg-5 col-md-5 col-sm-12">
		                                    <input name="old_password" type="password" require="请输入原始密码" value="" class="form-control pwd_params">
		                                </div>
		                            </div>
		                        </div>
		                        <div class="col-md-12">
		                            <div class="form-group">
		                                <label class="col-lg-3 col-sm-3 control-label"><span class="red">*</span>新密码</label>
		                                <div class="col-lg-5 col-md-5 col-sm-12">
		                                    <input name="new_password" type="password" require="请输入新密码." reg="/^[0-9A-Za-z_]{1,16}$/" error="密码必须为1-16位以上的字母和数字." value="" class="form-control pwd_params">
		                                </div>
		                            </div>
		                        </div>
		
		                        <div class="col-md-12">
		                            <div class="form-group">
		                                <label class="col-lg-3 col-sm-3 control-label"><span class="red">*</span>确认密码</label>
		                                <div class="col-lg-5 col-md-5 col-sm-12">
		                                    <input name="con_password" type="password" require="请输入确认密码" reg="/^[0-9A-Za-z_]{1,16}$/" error="密码必须为1-16位以上的字母和数字." value="" class="form-control pwd_params">
		                                </div>
		                            </div>
		                        </div>
		                    </div>
		                    <input type="reset" style="display:none;"/>
		                </form>
		
		            </div>
		            <div class="modal-footer">
		                <button id="editButton" type="button" class="btn btn-success" ng-click="updatepas()">保存</button>
		                <button type="button" class="btn btn-danger" data-dismiss="modal" ng-click="clearData()">关闭</button>
		            </div>
		        </div>
		    </div>
		</div>
		<!-- modal -->
</body>
</html>
